package com.ruoyi.basic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物料信息对象 jc_items
 * 
 * @author HK
 * @date 2021-07-18
 */
public class JcItems extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 流水码 */
    private Long itemId;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String itemCode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String itemName;

    /** 物料简称 */
    @Excel(name = "物料简称")
    private String itemShortName;

    /** 单位 */
    @Excel(name = "单位")
    private String itemUnit;

    /** 启用状态 */
    @Excel(name = "启用状态")
    private String status;

    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setItemCode(String itemCode) 
    {
        this.itemCode = itemCode;
    }

    public String getItemCode() 
    {
        return itemCode;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setItemShortName(String itemShortName) 
    {
        this.itemShortName = itemShortName;
    }

    public String getItemShortName() 
    {
        return itemShortName;
    }
    public void setItemUnit(String itemUnit) 
    {
        this.itemUnit = itemUnit;
    }

    public String getItemUnit() 
    {
        return itemUnit;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("itemId", getItemId())
            .append("itemCode", getItemCode())
            .append("itemName", getItemName())
            .append("itemShortName", getItemShortName())
            .append("itemUnit", getItemUnit())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
